package com.guangzi.mapper;

import com.guangzi.common.Pager;
import com.guangzi.entity.Notice;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;


@Mapper
public interface NoticeDao extends BaseDao {
    @Override
    List<Object> listPager(@Param("pager") Pager pager);

    List<Object> listNotice(@Param("pageIndex")int pageIndex,@Param("pageSize") int pageSize);
    List<Notice> findAll();

}
